package com.buba.system.service.impl;

import com.buba.pojo.UserInfo;
import com.buba.system.dao.LoginDao;
import com.buba.system.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
@Autowired
private LoginDao loginDao;
    @Override
    public UserInfo login(String userName, String password) {
        return loginDao.login(userName,password);
    }
}
